package com.ruoyi.fts.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 fts_goods
 *
 * @author lumberer
 * @date 2024-10-15
 */
@Data
@TableName("fts_goods")
public class FtsGoods extends BaseEntity{
private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /** 商品编码 */
    @Excel(name = "商品编码")
    private String goodsCode;
    /** 商品规格 */
    @Excel(name = "商品规格")
    private String spec;
    /** 收藏数 */
    @Excel(name = "收藏数")
    private Long collectNumber;
    /** 查看数 */
    @Excel(name = "查看数")
    private Long watchNumber;
    /** 标题 */
    @Excel(name = "标题")
    private String title;
    /** 内容 */
    @Excel(name = "内容")
    private String content;
    /** 库存 */
    @Excel(name = "库存")
    private String stock;
    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;
    /** 封面 */
    @Excel(name = "封面")
    private String cover;
    /** 产品图片 */
    @Excel(name = "产品图片")
    private String productImage;
    /** 店铺id(预留字段) */
        @Excel(name = "店铺id(预留字段)")
    private Long storeId;
}